﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace JuCheap.Core.Models.ViewModels
{
    public class TimePeriodViewModel
    {
        public int Id { get; set; }
        /// <summary>
        /// 公司名
        /// </summary>
        [Display(Name = "时间段名称")]
        [Required(ErrorMessage = Message.Required)]
        [MinLength(2, ErrorMessage = Message.MinLength)]
        [MaxLength(20, ErrorMessage = Message.MaxLength)]
        public string PeriodName { get; set; }

        public int TimeStart { get; set; }

        public int TimeEnd { get; set; }
        [Display(Name = "时间段类型")]
        public int TimeTypePeriod { get; set; }

        public string timeType { get; set; }

    }
}
